<%-- 
    Document   : login
    Created on : Jun 26, 2012, 7:17:25 AM
    Author     : ThanhTai
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<style type="text/css">
    @import url("css/general.css");
</style>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Login Page</title>
    </head>
    <body>
        <div id="wrapper">
            <div id="header">
                <div id="user">
                    <p></p>
                </div><!--end login-->
            </div> <!--end header-->

            <div id="body">
                <div id="title">
                    <h2 align="center">Please Login to Access The System</h2>
                </div>
                <div id="content" align="center">
                    <form action="Controller" method="POST">
                        <table id="tableA" width="300px">
                            <tr>
                                <td width="100px">Username:</td>
                                <td><span style="width: 150px;"><input type="text" name="txtUsername" value="khanhkt"/></span></td>
                            </tr>
                            <tr>
                                <td width="100px">Password:</td>
                                <td><span style="width: 150px;"><input type="password" name="txtPassword" value="khanhkt"/></span></td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <input  type="submit" name="action" value="Login"/>
                                </td>
                                <td>
                                    <input  type="reset" name="action" value="Reset"/>
                                </td>
                            </tr>
                        </table>
                    </form>
                    <c:if test="${requestScope.FLAG == 'invalid'}">
                        Invalid username or password, please try again!!!!!
                    </c:if>
                </div>
            </div><!--end body-->

            <div id="footer">
            </div>
        </div><!--End wrapper-->

    </body>
</html>
